<%@ page contentType="text/html; charset=UTF-8" language="java" import="java.util.*" errorPage="/error.jsp" %>
<%@ page import="com.beans.link.*"%>
<%@ page import="com.business.link.*"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>编辑链接</title>
</head>

<body style="	font-size: 9pt;
	line-height: 150%;
	color: #000000;
	text-decoration: none;">
<%	String linkNo=request.getParameter("no");
	
	LinkListBus llb=new LinkListBus();
	Link link=llb.getLinkByNo(linkNo);
	
%>
<form id="addlogform" name="addlogform" method="post" action="/managelink">
  <p>链接名称：
    <label>
    <input name="linkname" type="text" value="<%=link.getLinkName()%>" />
    </label>
  </p>
  <p>是否显示：
    <label>
    <input type="checkbox" name="isshow" value="1" <%if(link.getIsShow().equals("1")){%>checked<%}%> />
    </label>
  </p>
  <p>简要描述：
    <input name="linkdemo" type="text" value="<%=link.getLinkDemo()%>" size="50" />
  </p>
  <p>URL：
    <input name="linkurl" type="text" value="<%=link.getLinkUrl()%>" size="40" />
  </p>
	<input type="hidden" name="username" value="<%=link.getUsername()%>"/>
	<input type="hidden" name="no" value="<%=linkNo%>"/>
       <p>

	  <label>
		<br />
 <input name="edit" type="submit" id="edit" value=" 编辑 ">
      </label>
  </p>
</form>
</body>
</html>
